package com.linwen.javase.desgin_pattern.BigTalkDesignPattenJAVACode._10观察者模式._3老板回来通知2;

//抽象观察者
abstract class Observer{
    protected String name;
    protected Secretary sub;
    public Observer(String name,Secretary sub){
        this.name = name;
        this.sub = sub;
    }
    public abstract void update();
}